package org.example.medicalstaff.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import net.sf.jsqlparser.expression.DateTimeLiteralExpression;
import org.springframework.stereotype.Repository;

import java.util.Date;

@Data
@TableName("medicalDisease")
@Repository
public class MedicalDisease {
    @TableId(value="ID",type = IdType.AUTO)
    private int ID;
    @TableField(value = "MedicalID")
    private int MedicalID;//病历ID，指向MedicalRecord
    @TableField(value = "RegistID")
    private int RegistID;//挂号ID
    @TableField(value = "DiseaseID")
    private int DiseaseID;//疾病ID
    @TableField(value = "DiagnoseType")
    private int DiagnoseType;//诊断类型
    @TableField(value = "GetSiskDate")
    private Date GetSiskDate;//发病日期
    @TableField(value = "DiagnoseCate")
    private int DiagnoseCate;//诊断种类

}
